// index.js
Component({
  data: {
    isShow_index: true,
    isShow_playing: false,
    isShow_me: false,
    selected: 0, //首页
    color: "#8D8D8D",
    selectedColor: "#C62F2F",
  },

  methods: {
    switchTab_index: function () {
      wx.switchTab({
        url: '/pages/index/index'
      })
    },
    switchTab_playing: function () {
      console.log('点击了中间按钮')
      wx.switchTab({
        url: '/pages/love/love'
      })
    },
    switchTab_me: function () {
      wx.switchTab({
        url: '/pages/me/me'
      })
    }
  }
})
